//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#ifndef _ModelTotalResults_h__
#define _ModelTotalResults_h__
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#include "ModelDetailStatistic.h"
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
class ModelTotalResults { 

  private:

    String*                           PrepareAsXMLContent (String*);
    
  protected:

    String*                           name;
    String*                           model;
    String*                           scheme;
    String*                           selection;
    String*                           detailsModel;
    String*                           filenameOut;
    String*                           filenameIn;
    
    TListE <ModelDetailStatistic>*    detailClassifier;
    TListE <String>*                  headerClassifier;

    int                               numberAttributes;
    
    String*                           toString;
    
  public:

    ModelTotalResults ();
    ModelTotalResults (const ModelTotalResults&);
    ModelTotalResults (const ModelTotalResults*);

    ~ModelTotalResults ();

    void                              Name (String* name);
    void                              Model (String* model);
    void                              Scheme (String* scheme);
    void                              Selection (String* selection);
    void                              DetailsModel (String* detailsModel);
    void                              FilenameOut (String* filenameOut);
    void                              FilenameIn (String* filenameIn);
    void                              DetailClassifier (TListE <ModelDetailStatistic>* detailClassifier);
    void                              HeaderClassifier (TListE <String>* headerClassifier);
    void                              NumberAttributes (int numberAttributes);

    String*                           Name (void);
    String*                           Model (void);
    String*                           Scheme (void);
    String*                           Selection (void);
    String*                           DetailsModel (void);
    String*                           FilenameOut (void);
    String*                           FilenameIn (void);
    TListE <ModelDetailStatistic>*    DetailClassifier (void);
    TListE <String>*                  HeaderClassifier (void);
    int                               NumberAttributes (void);

    String*                           ToString (void);
    bool                              LoadFromFile (void);
    bool                              LoadFromXMLFile (void);
    bool                              LoadFromData (String* data);
    bool                              WriteToFile (void);

    ModelTotalResults                 operator= (const ModelTotalResults& modelTotalResults);

};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#endif
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
